@import './reset';
@import './extend';
@import './nav';

body {
    overflow-x: hidden;
}

a,
a:link,
a:active {
    color: black;
    text-decoration: none;
}

img {
    display: block;
}

.fixed_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;

    .mainImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .fixed_ele {
        @extend %absolute_Center;
        @extend %flex_column_center;
        // border: 1px solid red;
        height: 100%;

        &>img {
            width: 100%;
            max-width: 616px;
            max-height: 137px;
        }

        .search_box {
            background-color: #fff;
            border-radius: 12px;
            height: 64px;
            margin-top: 40px;
            padding: 4px 32px;
            width: 568px;
            box-sizing: border-box;
            display: flex;
            justify-content: left;
            align-items: center;
            color: rgba(0, 0, 0, 0.65);


            input {
                width: 478px;
                height: 100%;
                font-size: 16px;
                border: none;
                outline: none;
                color: rgba(0, 0, 0, 0.452);
            }

            svg {
                cursor: pointer;
                font-size: 22px;
            }
        }

        button {
            border-radius: 12px;
            font-size: 14px;
            height: 48px;
            margin-top: 40px;
            width: 160px;
            background: #1677ff;
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, .12);
            box-shadow: 0 2px 0 rgba(0, 0, 0, .045);
            border: none;
            outline: none;
            transition: .3s;

            display: flex;
            justify-content: center;
            align-items: center;

            svg {
                font-size: 14px;
                margin: 2px 0 0 8px;
            }

            &:hover {
                background-color: rgb(80, 150, 248);
                cursor: pointer;
            }
        }

    }

    .fixed_bottomArrow {
        position: absolute;
        bottom: 35px;
        left: 50%;
        transform: translate(-50%);
        // background-color: red;
        display: block;
        animation: bottomArrow 0.8s alternate-reverse infinite ease-in;
    }

    @keyframes bottomArrow {
        to {
            bottom: 25px;
        }
    }

}

.container {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    top: 100vh;
    z-index: 2;
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
    min-width: 1440px;

    .wrap {
        width: 1086px;
        box-sizing: border-box;
        margin: 0 auto;
        padding-bottom: 80px;

        .sectionTitle {
            color: #111;
            font-size: 40px;
            font-weight: 400;
            letter-spacing: 0;
            margin: 0;
            text-align: center;
        }

        .questionArea {
            width: 100%;
            padding-top: 88px;
            // background-color: pink;

            .questionList {
                width: 100%;
                margin-top: 64px;
                display: flex;
                justify-content: space-between;

                .questionItem {
                    width: 347px;
                    border-radius: 12px;
                    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, .08);

                    .questionItem-img {
                        width: 100%;
                        height: 200px;
                        border-radius: 12px 12px 0px 0px;
                    }

                    .questionItem-body {
                        padding: 24px;
                        box-sizing: border-box;

                        h3 {
                            color: #333;
                            font-size: 20px;
                            font-weight: 500;
                            line-height: 30px;
                            margin-bottom: 8px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }

                        p {
                            color: #666;
                            cursor: pointer;
                            font-size: 14px;
                            font-weight: 400;
                            letter-spacing: 0;
                            line-height: 22px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }

                        a {
                            display: inline-block;
                            margin-top: 20px;
                            color: #1677ff;
                            

                            span {
                                margin-left: 4px;
                                vertical-align: middle;
                            }

                        }
                    }

                }
            }
        }

        .reminder{
            width: 100%;
            height: 175px;
            margin-top: 20px;

            img{
                height: 100%;
            }
        }

    }

    footer {
        width: 100%;
        height: 253px;
        background-color: rgb(28, 37, 51);

        .footerBody {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            height: 187px;
            margin: 0px auto;
            max-width: 1180px;
            padding: 48px 0px;
            box-sizing: border-box;
            display: flex;
            flex-flow: row wrap;
            min-width: 0;
            color: white;

            &>div {
                display: block;
                flex: 0 0 37.5%;
                max-width: 37.5%;

                h5 {
                    color: rgb(255, 255, 255);
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 22px;
                    margin-bottom: 20px;
                }

                .textGroup {
                    p {
                        color: rgba(255, 255, 255, 0.6);
                        font-size: 12px;
                        font-weight: 300;
                        line-height: 18px;
                        margin-bottom: 12px;
                    }
                }

                .iconGroup {
                    img {
                        display: inline-block;
                        height: 32px;
                        margin-right: 18px;
                        width: 32px;
                    }
                }

            }

            &>div:last-child {
                display: block;
                flex: 0 0 25%;
                max-width: 25%;
            }
        }

        .footerLaw {
            height: 66px;
            padding: 24px 0px;
            text-align: center;
            box-sizing: border-box;

            &>div {
                color: rgba(255, 255, 255, 0.6);
                display: inline-block;
                font-size: 12px;
                font-weight: 300;
                line-height: 18px;
                padding: 0px 8px;
                position: relative;

                &::after {
                    background-color: rgba(255, 255, 255, 0.4);
                    content: "";
                    display: block;
                    height: 12px;
                    position: absolute;
                    right: 0px;
                    top: calc(50% - 6px);
                    width: 1px;
                }

                &:last-child::after {
                    display: none;
                }
            }
        }
    }
}